package com.c2c.po;

import com.c2c.po.enums.impl.GoodiesState;

import java.util.Date;
import java.util.List;

public class Goods {

    private int goodsId;
    private String goodsName;
    private double goodsPrice;
    private String goodsIntroduce;
    private String goodsTrait;
    private String goodsImg;
    private Date goodsShelfTime;
    private String goodsCondition;

    private GoodiesState goodsState;
    private User user;
    private List<Comment> comment;
    private GoodsClassify goodsClassify;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public String getGoodsTrait() {
        return goodsTrait;
    }

    public void setGoodsTrait(String goodsTrait) {
        this.goodsTrait = goodsTrait;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Date getGoodsShelfTime() {
        return goodsShelfTime;
    }

    public void setGoodsShelfTime(Date goodsShelfTime) {
        this.goodsShelfTime = goodsShelfTime;
    }

    public String getGoodsCondition() {
        return goodsCondition;
    }

    public void setGoodsCondition(String goodsCondition) {
        this.goodsCondition = goodsCondition;
    }

    public GoodiesState getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(GoodiesState goodsState) {
        this.goodsState = goodsState;
    }

    public List<Comment> getComment() {
        return comment;
    }

    public void setComment(List<Comment> comment) {
        this.comment = comment;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public GoodsClassify getGoodsClassify() {
        return goodsClassify;
    }

    public void setGoodsClassify(GoodsClassify goodsClassify) {
        this.goodsClassify = goodsClassify;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsIntroduce='" + goodsIntroduce + '\'' +
                ", goodsTrait='" + goodsTrait + '\'' +
                ", goodsImg='" + goodsImg + '\'' +
                ", goodsShelfTime=" + goodsShelfTime +
                ", goodsCondition='" + goodsCondition + '\'' +
                ", goodsState=" + goodsState +
                ", user=" + user +
                ", comment=" + comment +
                ", goodsClassify=" + goodsClassify +
                '}';
    }
}
